import { Dropdown as AntdDropdown, DropdownProps } from 'antd';
import '../styles/index.css';
import { cn } from '@/utils/cn-merge';

interface CustomDropdownProps extends DropdownProps {
  className?: string;
}

export const Dropdown = ({ className, ...props }: CustomDropdownProps) => {
  return (
    <AntdDropdown
      overlayClassName="rg-dropdown"
      className={cn('rg-dropdown', className)}
      {...props}
    ></AntdDropdown>
  );
};

export default Dropdown;
